import 'package:car_web/model/car_entity.dart';
import 'package:flutter/material.dart';

class HomeProvider extends ChangeNotifier {
  List<CarEntity> data = [
    CarEntity()
      ..carImg = '图片'
      ..carType = '型号'
      ..carScore = '评分'
      ..quotedPrice = '供应商报价'
      ..guidePrice = '厂商指导价'
      ..carAttributes = '属性',
    CarEntity()
      ..carImg =
          'https://p3.dcarimg.com/img/motor-img/9d867f2df357f058d5f20ea73ee0ada1~524x0.png'
      ..carType = '唐DM'
      ..carScore = '3.93分'
      ..quotedPrice = '18.98-28.68万'
      ..guidePrice = '18.98-28.68万'
      ..carAttributes =
          '油耗1.5-5.5L/100km,车身结构5门7座SUV,续航112km,最大功率192Ps,上市时间2020-08-16',
    CarEntity()
      ..carImg =
          'https://p3.dcarimg.com/img/motor-img/b91cd88c05b49591c451374981ff86ff~524x0.webp'
      ..carType = '汉DM'
      ..carScore = '4.01分'
      ..quotedPrice = '21.98-23.98万'
      ..guidePrice = '21.98-23.98万'
      ..carAttributes =
          '油耗1.4L/100km,车身结构4门5座三厢车,续航81km,最大功率192Ps,上市时间2020-07-12',
  ];
}
